<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="__ROOT__/mt/admin/tpl/css/product.css" rel="stylesheet" type="text/css" / >
<script src="__ROOT__/mt/classlib/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	$('#show').click(function(){
		$('.new_edit').css({zIndex:1001});
		$('.template_nav li').attr("class","");
		 $(this).attr("class","active");
	})
	$('#describe').click(function(){
		$('.new_edit').css({zIndex:-1001});
		$('.template_nav li').attr("class","");
		$(this).attr("class","active");
	})
	$("#btn").click(function(){
		
	})
	$("[name=edit_con]").val('aaa');
})	
</script>
</head>
<body>
<div class='content'>
	<div class='explain'>
		<h3>欢迎来到 你好,生活。</h3>
		<p>您现在正在使用编辑器功能,我们为您准备了一些模版，对其发布的栏目不同，选择与之对应的模版发布,可以获得比较完美的效果。</p>
	</div>
	<div class="con_submit">
		<div class="template_nav">
			<ul>
				<li class='active' id="show">
					<b></b>
					<h3><a href="javascript:;">商品展示编辑</a></h3>
					<b class='_b'></b>
				</li>
				<li id='describe'>
					<b></b>
					<h3><a href="javascript:;">商品描述编辑</a></h3>
					<b class='_b'></b>
				</li>
			</ul>
		</div>		
		<form action="__CONTROL__/editor_upload" method="post" enctype="multipart/form-data">
			<div class='edit_template'>
				<div class='new_edit'>
					<table border=1 width=704 cellpadding=0 cellspacing=0>
						<tr>
							<th>请输入商品名称,商品名称在20字符以内。</th>
							<td><input style='font-size:16px;  font-weight:bold; text-indent:12px;' type="text" name="p_title" value=""></td>
							<td class='prompt'>超过规定字符</td>
						</tr>
						<tr>
							<th>请输入商品描述,商品描述在50字符以内。</th>
							<td><textarea  name="describe"></textarea></td>
							<td class='prompt'>超过规定字符</td>
					    </tr>
				    </table>
					<table style='float:left;' bjcolor='#FFF' class='price' border=1 width=230 cellpadding=0 cellspacing=0>
						<tr>
							<td>售价</td>
							<td><input type="text" name="price"></td>
					    </tr>
						<tr>
							<td>价值</td>
							<td><input type="text" name="costprice"></td>
						</tr>
						<tr>
							<td>节省</td>
							<td><input type="text" name="economize"></td>
						</tr>
						<tr>
							<td>折扣</td>
							<td><input type="text" name="rebate"></td>
					    </tr>
						<tr>
							<td>预定下架时间</td>
							<td><input type="text" name="economize"></td>
						</tr>
					
						<tr>
							<td>是否支持随时退款</td>
							<td ><input  type="radio" name="atanytime" value='1'>是<input type="radio" name="atanytime" value='2'>否</td>
					    </tr>
						<tr>
							<td>是否支持过期退款</td>
							<td ><input type="radio" name="pastdue" value='1'>是<input type="radio" name="pastdue" value='2'>否</td>
					    </tr>						
					</table>
					<table style='float:left;' class='price' border=1 width=473 cellpadding=0 cellspacing=0>
					<upload size="1" type="jpg,png,gif" width='410px' limit="5" text=" 图片上传" name="upload[]"/>	   
					</table>					
				</div>
				<div class='edit_box'>
					<editor    name="edit_con" type="1" style="1"/>
				</div>
				<input class='submit' type='submit' value=''>	
				<input id="btn" type="button" value="测试">					
			</div>
		</form>
	</div>		
</div>		
</body>
</html>